package ch06.test2.dao.impl;

import ch06.test2.dao.UserDao;
import org.springframework.stereotype.Component;

@Component("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public void show() {
        System.out.println("使用注解实现依赖注入");
    }
}
